package com.inossem.warehousestorage_inossem.bean.outStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/7/3.
 */

public class OutStorageSaleGetDefaultBatchBean extends Bean {

    /**
     * head : {"error_string":"Success","total":"1","page_index":"1","error_code":"0","page_size":"1"}
     * body : [{"position_code":"01-11081","spec_stock":"","stock_id":"1","area_code":"H01","batch":"1000010149","spec_stock_name":"","stock_qty":"388","unit_name":"Ah","input_date":"2018-02-02 18:19:40","spec_stock_code":"","qty":""}]
     */

    private HeadBean head;
    private List<BodyBean> body;

    public HeadBean getHead() {
        return head;
    }

    public void setHead(HeadBean head) {
        this.head = head;
    }

    public List<BodyBean> getBody() {
        return body;
    }

    public void setBody(List<BodyBean> body) {
        this.body = body;
    }

    public static class HeadBean {
        /**
         * error_string : Success
         * total : 1
         * page_index : 1
         * error_code : 0
         * page_size : 1
         */

        private String error_string;
        private String total;
        private String page_index;
        private String error_code;
        private String page_size;

        public String getError_string() {
            return error_string;
        }

        public void setError_string(String error_string) {
            this.error_string = error_string;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getPage_index() {
            return page_index;
        }

        public void setPage_index(String page_index) {
            this.page_index = page_index;
        }

        public String getError_code() {
            return error_code;
        }

        public void setError_code(String error_code) {
            this.error_code = error_code;
        }

        public String getPage_size() {
            return page_size;
        }

        public void setPage_size(String page_size) {
            this.page_size = page_size;
        }
    }

    public static class BodyBean {
        /**
         * position_code : 01-11081
         * spec_stock :
         * stock_id : 1
         * area_code : H01
         * batch : 1000010149
         * spec_stock_name :
         * stock_qty : 388
         * unit_name : Ah
         * input_date : 2018-02-02 18:19:40
         * spec_stock_code :
         * qty :
         */

        private String position_code;
        private String spec_stock;
        private String stock_id;
        private String area_code;
        private String batch;
        private String spec_stock_name;
        private String stock_qty;
        private String unit_name;
        private String input_date;
        private String spec_stock_code;
        private String qty;
        private String isConfirm;

        public String getIsConfirm() {
            return isConfirm;
        }

        public void setIsConfirm(String isConfirm) {
            this.isConfirm = isConfirm;
        }

        public String getPosition_code() {
            return position_code;
        }

        public void setPosition_code(String position_code) {
            this.position_code = position_code;
        }

        public String getSpec_stock() {
            return spec_stock;
        }

        public void setSpec_stock(String spec_stock) {
            this.spec_stock = spec_stock;
        }

        public String getStock_id() {
            return stock_id;
        }

        public void setStock_id(String stock_id) {
            this.stock_id = stock_id;
        }

        public String getArea_code() {
            return area_code;
        }

        public void setArea_code(String area_code) {
            this.area_code = area_code;
        }

        public String getBatch() {
            return batch;
        }

        public void setBatch(String batch) {
            this.batch = batch;
        }

        public String getSpec_stock_name() {
            return spec_stock_name;
        }

        public void setSpec_stock_name(String spec_stock_name) {
            this.spec_stock_name = spec_stock_name;
        }

        public String getStock_qty() {
            return stock_qty;
        }

        public void setStock_qty(String stock_qty) {
            this.stock_qty = stock_qty;
        }

        public String getUnit_name() {
            return unit_name;
        }

        public void setUnit_name(String unit_name) {
            this.unit_name = unit_name;
        }

        public String getInput_date() {
            return input_date;
        }

        public void setInput_date(String input_date) {
            this.input_date = input_date;
        }

        public String getSpec_stock_code() {
            return spec_stock_code;
        }

        public void setSpec_stock_code(String spec_stock_code) {
            this.spec_stock_code = spec_stock_code;
        }

        public String getQty() {
            return qty;
        }

        public void setQty(String qty) {
            this.qty = qty;
        }
    }
}
